#ifndef __PACKAGE_H__
#define __PACKAGE_H__

struct package{
    int protocol;
    char field1[32];
    char field2[32];
    char field3[32];
};

const char* package(struct package *p);
struct package* unpackage(const char *s,struct package *p);
int rcv_package(int socket_c,char *buf,int size);
int send_package(int socket_c,const char *buf);

#endif